Idempotent Operations

The idempotent operations produce the same result for multiple identical requests or operations.

Reissuing an XCO command should leave the system in the same state as the last time the command was run. Such idempotent operations help ensure data consistency during high-availability failovers.

Example

In this example, running the efa fabric create command twice, with the same parameters, produces the same result each time.
$ efa fabric create --name fabric1  --type non-clos --description non-clos-fabric
Create Fabric nonclos [Success]

(efa:extreme)extreme@tpvm:~$ efa fabric create --name fabric1 --type non-clos --description non-clos-fabric
Create Fabric nonclos [Success]